package com.ls.blog.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author lishun
 * @since 2022-01-14
 */
@Data
public class ArticleVO extends PageVO implements Serializable {


    private Integer id;

    private String title;

    private String description;

    private String firstPicture;

    private String content;

    private Integer published;

    private Integer appreciation;

    private Integer commentabled;

    private Integer recommend;

    private Integer shareStatement;

    private Integer views;

    @JsonSerialize(using = ToStringSerializer.class)
    private Integer userId;

    @JsonSerialize(using = ToStringSerializer.class)
    private Integer commentCount;

    private Integer isDelete;

    private Integer categoryId;

    private List<String> tags;
}
